package com.t373.anno.mapper.impl;

import com.t373.anno.mapper.GoodsMapper;
import org.springframework.stereotype.Repository;

/**
 * @author Jane
 * @date 2024-12-11 12:05
 */
@Repository  //标记当前这个类是持久层对象 同时交给了Spring进行管理  创建,执行,销毁
public class GoodsMapperImpl implements GoodsMapper {
    @Override
    public int getGoodsCount() {
        System.out.println("-dao层");
        return 17;
    }
}
